package com.cisdi.analysis.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.File;

/**
 * 基础控制器日志打印
 * @author liujunnan
 * @date 2018/5/23
 */
public class BaseController {
    protected Logger logger = LoggerFactory.getLogger(this.getClass());
    private String path = System.getProperty("user.dir") + "/uploadFiles/";
    private File file = new File(path);
    private File[] fileList = file.listFiles();
    String localPath = fileList != null ? fileList[0].getPath() : null;
}
